package com.yancy.service;

import com.yancy.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    public boolean userLogin(User user);
    public List<User> getUser();
    public boolean deleteUser(String id);

    public boolean addUser(HttpServletRequest req);

    boolean updateUser(HttpServletRequest req);
}
